<%@ page language="java" import="java.util.*"
	contentType="text/html; charset=utf-8"%>
<%@page import="cmcc.operator.*"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<%
	System.out.println("frameSet-----blank.jsp");
	Operator operator = (Operator) session.getAttribute("operator");
	if(operator==null){
		return;
	}
	operator.print();
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<title>My JSP 'blank.jsp' starting page</title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

<link href="<%=request.getContextPath()%>/style/stylet.css"
	rel="stylesheet" type="text/css">
</head>

<body>
	<TR>
		<TD height=25>您现在的位置：登录成功!</TD>
	</TR>
	<TR>
		<TD bgColor=#2650a6><IMG height=1 src="images\blank(1).gif"
			width=1></TD>
	</TR>
	<hr width="100%" size="2">
	<font color="red"> 
	<%
//操作员权限不足时进行提示
		
		String noright = (String) request.getParameter("noright");
		System.out.println("noright = "+noright);
		if (noright != null && noright.equals("nochargeright")) {
			out.println("对不起，您没有配置业务费用的权限！<br/>");
			out.println("根据本系统当前权限设置，您只有开户的权限");
		}
		if (noright != null && noright.equals("nonewopratorright")) {
			out.println("对不起，您没有新增操作员的权限！<br/>");
			out.println("根据本系统当前权限设置，您只有开户的权限");
		}
		if (noright != null && noright.equals("noopratorlistright")) {
			out.println("对不起，您没有查看操作员列表的权限！<br/>");
			out.println("根据本系统当前权限设置，您只有开户的权限");
		}
		if (noright != null && noright.equals("nomanageroperator")) {
			out.println("对不起，您没有操作员管理的权限！<br/>");
			out.println("根据本系统当前权限设置，您只有开户的权限");
		}
		if (noright != null && noright.equals("noresourceright")) {
			out.println("对不起，您没有资源管理的权限 <br/>");
			out.println("根据本系统当前权限设置，您只有开户的权限");
		}
	 %>
	 <%//对于一些操作（例如增加操作员等操作）完成后给的提示信息
	     String res_msg = (String)request.getAttribute("result_msg");
	     if(res_msg != null){
	     out.print(res_msg);
	     }
      %>
	</font>
	<div id="dengluchenggong">
		<div id="dengluchenggongimg">
			<div id="dengluchenggongword">
				欢迎您 <font color="#73A822"> <%=operator.getOperator_name()%></font>
				!
			</div>
			您的权限为：<font color="#73A822"><%=operator.getPermission()%></font>

		</div>
	</div>
</body>
</html>
